<?php

namespace humhub\modules\api\models;

use Yii;
use humhub\components\ActiveRecord;


class UserTag extends ActiveRecord
{

    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'user_tag';
    }

    public function getTag(){
        return $this->hasOne(Tag::className(),['id'=>'tag_id']);
    }


}
